.back {
  width: 1107px;
  margin: 15px auto;
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
  color: #303133;
  > div {
    display: inline;
    cursor: pointer;
  }
  i {
    font-size: 14px;
    margin-right: 5px;
  }
}
.content {
  width: 967px;
  margin: 0px auto 50px auto;
  background: #ffffff;
  box-shadow: 0px 0px 7px 0px #dfe1e7;
  border-radius: 4px;
  padding: 30px 70px;
  .title {
    position: relative;
    margin-bottom: 15px;
    .name {
      height: 30px;
      font-size: 20px;
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: 500;
      color: #303133;
      line-height: 28px;
      letter-spacing: 1px;
    }
    .tag {
      position: absolute;
      top: 0;
      right: 0;
      width: 89px;
      background: #fdfeff;
      border-radius: 3px;
      border: 1px solid #d2d7e1;
      padding: 0px 9px;
      height: 30px;
      font-size: 11px;
      line-height: 30px;
      text-align: center;
    }
  }
  .userinfo {
    position: relative;
    margin-bottom: 20px;
    > div {
      display: inline-block;
      margin-right: 15px;
    }
    .avatar {
      > img {
        width: 22px;
        height: 22px;
        border-radius: 11px;
        vertical-align: bottom;
        margin-right: 9px;
      }
      .username {
        font-size: 16px;
        font-weight: 400;
        color: #303133;
        line-height: 22px;
        letter-spacing: 1px;
      }
    }
    .time {
      color: #727786;
      font-size: 12px;
      > i {
        margin-right: 5px;
        cursor: pointer;
        vertical-align: baseline;
      }
      span {
        display: inline-block;
        line-height: 22px;
      }
    }
  }
  .article {
    margin-bottom: 30px;
  }
  .addcomment {
    height: 60px;
    background: #fdfeff;
    border: 1px solid #d2d7e1;
    position: relative;
    // margin-bottom: 30px; // 这个可能需要
    .addbutton {
      display: inline-block;
      margin: 10px 30px 10px 16px;
      padding: 10px;
      text-align: center;
      color: #ffffff;
      width: 96px;
      height: 20px;
      background: #3f94ff;
      border-radius: 4px;
      cursor: pointer;
    }
    .like {
      display: inline-block;

      color: #727786;
      font-size: 12px;
      > i {
        margin-right: 5px;
        cursor: pointer;
        vertical-align: middle;
      }
      span {
        display: inline-block;
        line-height: 22px;
      }
    }
  }
  .editorcomment {
    margin-bottom: 66px;
    position: relative;
    .submit {
      position: absolute;
      right: 30px;
      bottom: -25px;

      .button {
        width: 96px;
        height: 40px;
        line-height: 40px;
        background: #3f94ff;
        border-radius: 4px;
        cursor: pointer;
        color: #fff;
        text-align: center;
      }
    }
  }
  .floor {
    margin-top: 30px;
    .header {
      height: 22px;
      font-size: 16px;
      font-weight: 400;
      color: #303133;
      line-height: 22px;
    }
    .commentlist {
      .nocomment {
        text-align: center;
        img {
          width: 150px;
          margin-bottom: 20px;
        }
        .nocomment-text {
          width: 150px;
          margin: 0 auto;
          display: flex; /* 弹性布局 */
          justify-content: center;
          > div {
            width: 50%;
          }
          .nocomment-text-left {
            color: #606266;
          }
          .nocomment-text-right {
            cursor: pointer;
            color: #3f94ff;
          }
        }
      }
      .item-comment {
        .item {
          position: relative;
          .item-header {
            padding-top: 15px;
            position: relative;
            margin-bottom: 15px;
            .avatar {
              > img {
                width: 35px;
                height: 35px;
                border-radius: 50%;
                vertical-align: bottom;
                margin-right: 9px;
              }
              .username {
                font-size: 16px;
                font-weight: 400;
                color: #0055d6;
                line-height: 35px;
                letter-spacing: 1px;
              }
            }
            .time {
              position: absolute;
              line-height: 35px;
              top: 15px;
              right: 0;
            }
          }
          .item-content {
            position: relative;
            margin-bottom: 20px;
            font-size: 14px;
            font-family: PingFangSC-Regular, PingFang SC;
            font-weight: 400;
            color: #303133;
            line-height: 20px;
            overflow: hidden;
            &.hidden{
              height: 300px;
            }
            .more {
              position: absolute;
              text-align: center;
              height: 100px;
              width: 100%;
              bottom: 0;
              background: linear-gradient(0deg, white, transparent);
              background: -ms-linear-gradient(0deg, white, transparent);
              background: -webkit-linear-gradient(0deg, white, transparent);
              background: -moz-linear-gradient(0deg, white, transparent);
              .text {
                position: absolute;
                text-align: center;
                width: 100%;
                font-size: 18px;
                color: #3f94ff;
                bottom: 0;
                cursor: pointer;
              }
            }
            .closemore {
              position: absolute;
              width: 100%;
              .text {
                text-align: center;
                width: 100%;
                font-size: 18px;
                color: #3f94ff;
                bottom: 0;
                cursor: pointer;
              }
            }
          }
          .option {
            padding-bottom: 20px;
            border-bottom: 1px solid #eceff5;

            > div {
              display: inline-block;
              margin-right: 15px;
            }
            .like,
            .comment {
              color: #727786;
              font-size: 12px;
              > i {
                margin-right: 5px;
                cursor: pointer;
                vertical-align: middle;
              }
              span {
                display: inline-block;
                line-height: 22px;
              }
            }
            .delete {
              color: #3f94ff;
              font-size: 12px;
              cursor: pointer;
              span {
                display: inline-block;
                line-height: 22px;
              }
            }
          }
          .item-comment-submit {
            margin-left: 75px;
            border-bottom: 1px solid #eceff5;
            .avatar,
            .textarea {
              display: inline-block;
              vertical-align: top;
            }
            .textarea {
              width: calc(100% - 135px);
            }
            .submit {
              position: relative;
              height: 55px;

              .button {
                margin-top: 10px;
                margin-bottom: 5px;
                text-align: center;
                position: absolute;
                right: 90px;
                width: 96px;
                height: 40px;
                line-height: 40px;
                color: #fff;
                background: #3f94ff;
                border-radius: 4px;
                cursor: pointer;
              }
            }
          }
          .item-comment-comment {
            margin-left: 75px;
          }
        }
      }
    }
    .commentpage {
      padding: 0px 43px 28px;
      .center {
        margin-top: 30px;
        text-align: center;
      }
    }
  }
}
/deep/ .el-tabs__header {
  margin: 0;
}
/deep/.el-tabs__item {
  font-size: 16px !important;
}
/deep/ .el-dialog__footer {
  text-align: center;
  button {
    width: 114px;
  }
}
